<template>
  <div id="app">

    <!-- 内容区 -->
    <router-view></router-view>
    
  </div>
</template>

<script>


export default {
  name: 'App',
  components: {
    
  },

  beforeMount() {
    // 设置body样式
    const body_element = document.getElementsByTagName("body")[0]
    body_element.setAttribute("style", "margin:0;padding:0;height:100%;")


  },
}
</script>

<style>
#app {
  font-family: Avenir, Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-align: center;
  color: #2c3e50;
  margin-top: 60px;

  /* background-color: red; */
  margin:0;
  padding: 0;
  height: 100%;
}
</style>
